Skip to content

Load testing wip2#44

Draft
joao-ferreira-encora wants to merge 19 commits intoquickfixgo:mainfrom
joao-ferreira-encora:load-testing-wip2
Draft

Load testing wip2#44
joao-ferreira-encora wants to merge 19 commits intoquickfixgo:mainfrom
joao-ferreira-encora:load-testing-wip2

Conversation

@joao-ferreira-encora
Copy link
Copy Markdown

No description provided.

responseTime := time.Now()

localArrival := responseTime
latency := localArrival.Sub(sentTime)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this latency doesn't seem to be the time from sending the order to the execution report coming back. The flow is asynchronous. After the order is submitted, we need to capture its final response message (i.e. execution report when the order is either filled or cancelled) from the FIX log and check the time spent to fill the order.

mu.Unlock()
}(i)

time.Sleep(time.Second / time.Duration(cfg.OrdersPerSecond))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could the cadence be dynamic during a day or even 2 days?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it can be done

Copy link
Copy Markdown

@maryhualabs maryhualabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you going to push the change to the public repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants